<?php

class BackendArticleFormFilter extends ArticleFormFilter
{
  public function configure()
  {
    $user = sfContext::getInstance()->getUser();
    
    if ($user->hasCredential('editor'))
    {
      unset($this['publisher_id']);
    }
  }
}